toNegativeInt

@SinceKotoolsTypes(version = "1.1")
fun Int.toNegativeInt(): NegativeInt

Returns this value as a negative int, or throws an IllegalArgumentException if this value is strictly positive.